package com.chinaunicom.create.builder;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2022/7/19 16:00
 * Description: 为产品的每个部件提供一个抽象方法
 */
public abstract class Builder {
    
    private Product product;
    
    public abstract Builder buildWall();
    public abstract Builder builderTv();
    public abstract Builder builderSofa();
    
    public Product getResult(){
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }
}
